﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLayer;
namespace RestHouseReservation
{
    public partial class CancelReservation : System.Web.UI.Page
    {
        ReservationLogic Logic = new ReservationLogic();
        public int ReservedRooms = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            ReservedRooms = Logic.CheckReservedRooms();
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            string RoomNo = DropDownList1.SelectedValue;
            Session["RoomNo"] = RoomNo;
            Server.Transfer("ConfirmCancelation.aspx");
        }
    }
}